import Vue from "vue";
import App from "./App.vue";
import router from "./router/router";
import store from "./store/index";
import "./plugins/element.js";
import "./theme/element-variables.scss"; //主题色
import "@/styles/index.scss"; // global css
import i18n from "./lang/index.js"; //国际化
import animated from "animate.css"; //css动画库
Vue.use(animated);

import CommonFn from '@/utils/utils.js'//自定义方法
Vue.prototype.$CommonFn = CommonFn;//注册Vue属性 调用this.$CommonFn

// 引入样式
// import "vue-easytable/libs/themes-base/index.css";
// 导入 table 和 分页组件 注册到全局
// import { VTable, VPagination } from "vue-easytable";
// Vue.component(VTable.name, VTable);
// Vue.component(VPagination.name, VPagination);

//引入element table扩展插件
import "./plugins/element-extends.js";

// import VXETable from 'vxe-table'
// import 'vxe-table/lib/index.css'
// Vue.use(VXETable)

//import "./permission"; // permission control
Vue.config.productionTip = false;

console.log(store);

new Vue({
  router,
  store,
  i18n,
  render: h => h(App)
}).$mount("#app");
